home *** CD-ROM | disk | FTP | other *** search
/ Belgian Amiga Club - ADF Collection / BS1 part 34.zip / BS1 part 34 / Aztec C 5.0a disk 1.adf / include / libraries / expansionbase.h < prev    next >
C/C++ Source or Header  |  1989-11-09  |  939b  |  42 lines

  1. #ifndef    LIBRARIES_EXPANSIONBASE_H
  2. #define    LIBRARIES_EXPANSIONBASE_H
  3. #ifndef    EXEC_TYPES_H
  4. #include    "exec/types.h"
  5. #endif    /* !EXEC_TYPES_H */
  6. #ifndef    EXEC_LIBRARIES_H
  7. #include    "exec/libraries.h"
  8. #endif    /* !EXEC_LIBRARIES_H */
  9. #ifndef    EXEC_INTERRUPTS_H
  10. #include    "exec/interrupts.h"
  11. #endif    /* !EXEC_INTERRUPTS_H */
  12. #ifndef    EXEC_SEMAPHORES_H
  13. #include    "exec/semaphores.h"
  14. #endif    /* !EXEC_SEMAPHORES_H */
  15. #ifndef    LIBRARIES_CONFIGVARS_H
  16. #include    "libraries/configvars.h"
  17. #endif    /* !LIBRARIES_CONFIGVARS_H */
  18. #define    TOTALSLOTS    256
  19. struct    ExpansionInt
  20. {
  21. UWORD    IntMask;
  22. UWORD    ArrayMax;
  23. UWORD    ArraySize;
  24. };
  25. struct    ExpansionBase
  26. {
  27. struct    Library    LibNode;
  28. UBYTE    Flags;
  29. UBYTE    pad;
  30. APTR    ExecBase;
  31. APTR    SegList;
  32. struct    CurrentBinding    CurrentBinding;
  33. struct    List    BoardList;
  34. struct    List    MountList;
  35. UBYTE    AllocTable[TOTALSLOTS];
  36. struct    SignalSemaphore    BindSemaphore;
  37. struct    Interrupt    Int2List;
  38. struct    Interrupt    Int6List;
  39. struct    Interrupt    Int7List;
  40. };
  41. #endif
  42.